<template>
  <div class="third-party-auth">
    <div class="divider">其他登录方式</div>
    <div class="auth-methods">
      <button class="auth-method wechat">
        <i class="icon-wechat"></i>
      </button>
      <button class="auth-method qq">
        <i class="icon-qq"></i>
      </button>
      <button class="auth-method weibo">
        <i class="icon-weibo"></i>
      </button>
    </div>
  </div>
</template>

<style scoped>
.third-party-auth {
  margin-top: 2rem;
}

.divider {
  color: #bdc3c7;
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}

.divider:before,
.divider:after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #eee;
}

.auth-methods {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.auth-method {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #f8f9fa;
  cursor: pointer;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-method:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .auth-methods {
    gap: 1rem;
  }

  .auth-method {
    width: 45px;
    height: 45px;
  }
}
</style>
